<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>登陆成功</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
</head>
<body>
<s:if test="#session.user.role.equals('admin')">
    <jsp:forward page="admin_main.jsp"/>
</s:if>
<s:elseif test="#session.user.role.equals('customer')">
    <jsp:forward page="index.jsp"/>
</s:elseif>
<jsp:include page="foot.jsp"/>
</body>
</html>
